//
//  AppTools.h
//  UI_豆瓣扩展
//
//  Created by dllo on 15/11/8.
//  Copyright © 2015年 张磊. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^AppToolsBlock)(id result);
typedef void(^AppToolsImageBlock)(NSData *data);

@interface AppTools : NSObject

+(void)getDataWithURL:(NSString *)url block:(AppToolsBlock)block;

+(void)getImageWithURL:(NSString *)url block:(AppToolsImageBlock)block;

@end
